package someTestExcemple.reflect.annotation;

import lombok.Getter;

import java.math.BigDecimal;

@Getter
@MyAnnotation1(name = "Tom", age = 76,sex="男")
public class AnnotationTest1 {
    private String bookName;
    private String author;
    private BigDecimal price;
    private Integer wordCount;

    public AnnotationTest1(String bookName, String author, BigDecimal price, Integer wordCount) {
        this.bookName = bookName;
        this.author = author;
        this.price = price;
        this.wordCount = wordCount;
    }

    public AnnotationTest1() {
    }

    @Override
    public String toString() {
        return "AnnotationTest1{" +
                "bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", price=" + price +
                ", wordCount=" + wordCount +
                '}';
    }
}
